import Vue from 'vue'
import Vuex from 'vuex'
import {
	loginModule
} from './login.js'
import {
	userModule
} from './user.js'
import {
	addressModule
} from './address.js'
import {
	goodModule,
	goodSearchModule
} from './good.js'
import {
	orderModule
}
from './order.js'
import {
	catrModule
} from './catr.js'
import {
	aftersaleModule
} from './aftersale.js'
import {
	feedbackModule
} from './feedback.js'

import {
	downloadModule
} from './download.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		loginModule,
		userModule,
		addressModule,
		goodModule,
		goodSearchModule,
		orderModule,
		catrModule,
		aftersaleModule,
		feedbackModule,
		downloadModule
	},
	state: {

	},

})

export default store
